import request from '@/utils/request';

// gasManage:stockManage:inventoryHistory:list
export function searchInventoryRecordApi (query) {
    return request({
        url: '/stock/inventoryRecord/list',
        method: 'get',
        params: query
    })
}
// gasManage:stockManage:inventoryHistory:add 出入库用的同一个接口所以需要考量
export function addInventoryRecordApi(data) {
    return request({
        url: '/stock/inventoryRecord',
        method: 'post',
        data: data
    })
}

// gasManage:stockManage:inventoryHistory:export
export function exportInventoryRecordApi(data) {
    return request({
        url: '/stock/inventoryRecord/export',
        method: 'post',
        data: data
    })
}